﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebApiClient.Attributes;
using WebApiClient;
using System.Linq.Expressions;

namespace Rest.WebApiClient.Contracts
{
    public interface UserServiceApi : IUserServiceApi
    {

        /// <summary>
        /// 获取用户信息
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        public async Task<string> UserInfo(int userId)
        {
            await Task.Run(() => 1 + 1);
            return $"得到用户信息:{userId}";
        }

    }
}
